import {axios} from '@/utils/request'

export function selectPage(parameter) {
  return axios({
    url: '/pc/member/selectPage/' + parameter.pageNum + "/" + parameter.pageSize,
    method: 'post',
    data: parameter
  })
}

export function selectSendMember(parameter) {
  return axios({
    url: '/pc/member/selectSendMember',
    method: 'post',
    params: parameter
  })
}
export function save(parameter) {
  return axios({
    url: '/pc/member/delPoints',
    method: 'post',
    data: parameter
  })
}

export function selectDetailPage(parameter) {
  return axios({
    url: '/pc/member/selectDetailPage/' + parameter.pageNum + "/" + parameter.pageSize,
    method: 'post',
    data: parameter
  })
}